package bit.pja.wolfkill.entity;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.persistence.Id;
import java.io.Serializable;


@Embeddable
public class RoomUserKey implements Serializable {

    private static final long serialVersionUID = -7833903280297680484L;

    @Column(name = "room_id")
    private Integer roomId;


    @Column(name = "user_id")
    private Integer userId;

    public Integer getRoomId() {
        return roomId;
    }

    public void setRoomId(Integer roomId) {
        this.roomId = roomId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
}
